package com.guoqiang.struct;

import java.util.Scanner;

public class IfDemo02 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        System.out.println("请输入成绩: ");
        double score = scanner.nextDouble();

        if (score >= 60.0) {
            System.out.println("及格");
        } else {
            System.out.println("不及格，继续努力");
        }


        scanner.close();
    }
}
